<template>
  <div id="app">
    <!-- <HelloWorld msg="dsdd to Your Vue.js App"/> -->
    <echarts />
  </div>
</template>

<script>
// import mongoose from 'mongoose'

// import HelloWorld from './components/HelloWorld.vue'
import echarts from './components/cat.vue'
export default {
  name: 'App',
  components: {
    // HelloWorld,
    echarts,
  },
  created() {
    this.flush()
  },
  mounted() {
    // console.log(v.code)
    console.log('monuted')
  },
  methods: {
    flush: function() {
      // var Schema = mongoose.Schema

      // var blogSchema = new Schema({
      //   title: String, // String is shorthand for {type: String}
      //   author: String,
      // })


    },
  },
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
